home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / ODFDev / Button / Sources / Binding.k < prev    next >
Encoding:
Text File  |  1996-04-25  |  1.6 KB  |  55 lines  |  [TEXT/MPS ]

  1. //==========================================================
  2. //
  3. //    File:                Binding.k
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Author:                M.Boetcher
  7. //
  8. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  9. //
  10. //==========================================================
  11.  
  12. #ifndef BINDING_K
  13. #define BINDING_K
  14.  
  15. // Kind
  16. #define kODFButtonKind "+//ISO 9070/ANSI::113722::US::CI LABS::Apple:ODFExamples:Kind:ODFButton"
  17.  
  18. // Class ID
  19. #define kODFButtonEditor "ODFExamples::ODFButton"
  20.  
  21. // Presentation
  22. #define kODFButtonPresentation "Apple:Presentation:ODFButton"
  23.  
  24. // Editor User String
  25. #define kODFButtonEditorUserString "ODFButton R1"
  26.  
  27. // Kind User String
  28. #define kODFButtonKindUserString "ODF Button Example"
  29.  
  30. // Button OSType
  31. #define kODFButtonOSType 'DFUD'
  32.  
  33. // Sound OSType
  34. #define kMacSoundOSType 'snd '
  35.  
  36. // Sound Data Type
  37. #define kODFSoundOSType "Apple:OSType:Scrap:snd "
  38.  
  39. // Data Interchange Types
  40. // This is bad we need to change that
  41. #define kSoundScrapKind "+//ISO 9070/ANSI::113722::US::CI LABS::MacOS:ScrapType:snd "
  42. #define kScriptScrapKind "+//ISO 9070/ANSI::113722::US::CI LABS::MacOS:ScrapType:scpt"
  43. #define kSoundFileKind  "+//ISO 9070/ANSI::113722::US::CI LABS::MacOS:FileType:sfil"
  44. #define kScriptFileKind  "+//ISO 9070/ANSI::113722::US::CI LABS::MacOS:FileType:osas"
  45.  
  46. #define kKindCategoryMapId            128
  47. #define kEditorKindMapId            kKindCategoryMapId + 1
  48. #define kEditorUserStringMapId        kEditorKindMapId + 1
  49. #define kKindUserStringMapId        kEditorUserStringMapId + 1
  50. #define kOldMacOSTypeMapId            kKindUserStringMapId + 1
  51. #define kEditorPlatformKinds        kOldMacOSTypeMapId + 1
  52.  
  53. #endif
  54.  
  55.